/*
 * @Author: wangjh wangjiahui0710@163.com
 * @Date: 2024-07-23 09:30:02
 * @LastEditors: wangjh wangjiahui0710@163.com
 * @LastEditTime: 2024-07-23 11:22:17
 * @FilePath: \fbhgl_client\stylelint.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * @type {import('stylelint').Config}
 */
export default {
	extends: [
		"stylelint-config-standard",
		"stylelint-config-standard-scss",
		"stylelint-config-recommended-vue/scss",
		"stylelint-config-recess-order",
	],
	rules: {
		"no-tabs": "off",
		"selector-pseudo-class-no-unknown": [
			true,
			{
				ignorePseudoClasses: ["deep", "global", "local"],
			},
		],
		"selector-class-pattern": [
			"^([a-z0-9]|_|-)*$",
			{
				message: "class 只能以 小写字母,数字, -, _ 进行命名",
			},
		],
		"function-no-unknown": [
			true,
			{
				ignoreFunctions: ["v-bind"],
			},
		],
	},
};
